class Time
  def strftime_with_ordinalization(string)
    strftime_without_ordinalization(string.gsub(/(%o)/, "#{self.day.to_i.ordinalize}"))
  end
  
  alias_method_chain :strftime, :ordinalization
end